<template>
    <div class="proHome">
      <ul class="proKind">
        <template v-for="item in simProblemData">
          <li>
            <Card>
              <div class="card">
                <div class="cardLeft">
                  <div class="proHometop">
                    <a href="javascript:;">
                      <img src="../.././assets/simProblem/gydm.png" alt="">
                    </a>
                  </div>
                  <div class="footer">
                    <p>{{item.title}}</p>
                  </div>
                </div>
                <div class="cardRight">
                  <ul>
                    <li v-for="val in item.listData" @click="toDetail">
                      <span></span>
                      {{val.title}}
                    </li>
                  </ul>
                </div>
              </div>
            </Card>
          </li>
        </template>
      </ul>
    </div>
</template>
<script>
    export default{
        name:"proHome",
        data(){
            return {
                  simProblemData:[
                    {
                        logoUrl:"../.././assets/simProblem/gydm.png",
                        title:"工艺展示",
                        listData:[
                          {
                              title:"西服工艺"
                          },
                          {
                            title:"衬衣工艺"
                          },
                          {
                            title:"西裤工艺"
                          },
                          {
                            title:"服装搭配展示"
                          },
                          {
                            title:"马甲工艺"
                          },
                          {
                            title:"礼服工艺"
                          },
                          {
                            title:"大衣工艺"
                          }
                        ]
                    },
                    {
                      logoUrl:"../.././assets/simProblem/gydm.png",
                      title:"工艺展示",
                      listData:[
                        {
                          title:"西服工艺"
                        },
                        {
                          title:"衬衣工艺"
                        },
                        {
                          title:"西裤工艺"
                        },
                        {
                          title:"服装搭配展示"
                        },
                        {
                          title:"马甲工艺"
                        },
                        {
                          title:"礼服工艺"
                        },
                        {
                          title:"大衣工艺"
                        }
                      ]
                    },
                    {
                      logoUrl:"../.././assets/simProblem/gydm.png",
                      title:"工艺展示",
                      listData:[
                        {
                          title:"西服工艺"
                        },
                        {
                          title:"衬衣工艺"
                        },
                        {
                          title:"西裤工艺"
                        },
                        {
                          title:"服装搭配展示"
                        },
                        {
                          title:"马甲工艺"
                        },
                        {
                          title:"礼服工艺"
                        },
                        {
                          title:"大衣工艺"
                        }
                      ]
                    },
                    {
                      logoUrl:"../.././assets/simProblem/gydm.png",
                      title:"工艺展示",
                      listData:[
                        {
                          title:"西服工艺"
                        },
                        {
                          title:"衬衣工艺"
                        },
                        {
                          title:"西裤工艺"
                        },
                        {
                          title:"服装搭配展示"
                        },
                        {
                          title:"马甲工艺"
                        },
                        {
                          title:"礼服工艺"
                        },
                        {
                          title:"大衣工艺"
                        }
                      ]
                    },
                    {
                      logoUrl:"../.././assets/simProblem/gydm.png",
                      title:"工艺展示",
                      listData:[
                        {
                          title:"西服工艺"
                        },
                        {
                          title:"衬衣工艺"
                        },
                        {
                          title:"西裤工艺"
                        },
                        {
                          title:"服装搭配展示"
                        },
                        {
                          title:"马甲工艺"
                        },
                        {
                          title:"礼服工艺"
                        },
                        {
                          title:"大衣工艺"
                        }
                      ]
                    },
                    {
                      logoUrl:"../.././assets/simProblem/gydm.png",
                      title:"工艺展示",
                      listData:[
                        {
                          title:"西服工艺"
                        },
                        {
                          title:"衬衣工艺"
                        },
                        {
                          title:"西裤工艺"
                        },
                        {
                          title:"服装搭配展示"
                        },
                        {
                          title:"马甲工艺"
                        },
                        {
                          title:"礼服工艺"
                        },
                        {
                          title:"大衣工艺"
                        }
                      ]
                    },
                    {
                      logoUrl:"../.././assets/simProblem/gydm.png",
                      title:"工艺展示",
                      listData:[
                        {
                          title:"西服工艺"
                        },
                        {
                          title:"衬衣工艺"
                        },
                        {
                          title:"西裤工艺"
                        },
                        {
                          title:"服装搭配展示"
                        },
                        {
                          title:"马甲工艺"
                        },
                        {
                          title:"礼服工艺"
                        },
                        {
                          title:"大衣工艺"
                        }
                      ]
                    },
                    {
                      logoUrl:"../.././assets/simProblem/gydm.png",
                      title:"工艺展示",
                      listData:[
                        {
                          title:"西服工艺"
                        },
                        {
                          title:"衬衣工艺"
                        },
                        {
                          title:"西裤工艺"
                        },
                        {
                          title:"服装搭配展示"
                        },
                        {
                          title:"马甲工艺"
                        },
                        {
                          title:"礼服工艺"
                        },
                        {
                          title:"大衣工艺"
                        }
                      ]
                    },
                    {
                      logoUrl:"../.././assets/simProblem/gydm.png",
                      title:"工艺展示",
                      listData:[
                        {
                          title:"西服工艺"
                        },
                        {
                          title:"衬衣工艺"
                        },
                        {
                          title:"西裤工艺"
                        },
                        {
                          title:"服装搭配展示"
                        },
                        {
                          title:"马甲工艺"
                        },
                        {
                          title:"礼服工艺"
                        },
                        {
                          title:"大衣工艺"
                        }
                      ]
                    },
                    {
                      logoUrl:"../.././assets/simProblem/gydm.png",
                      title:"工艺展示",
                      listData:[
                        {
                          title:"西服工艺"
                        },
                        {
                          title:"衬衣工艺"
                        },
                        {
                          title:"西裤工艺"
                        },
                        {
                          title:"服装搭配展示"
                        },
                        {
                          title:"马甲工艺"
                        },
                        {
                          title:"礼服工艺"
                        },
                        {
                          title:"大衣工艺"
                        }
                      ]
                    },
                    {
                      logoUrl:"../.././assets/simProblem/gydm.png",
                      title:"工艺展示",
                      listData:[
                        {
                          title:"西服工艺"
                        },
                        {
                          title:"衬衣工艺"
                        },
                        {
                          title:"西裤工艺"
                        },
                        {
                          title:"服装搭配展示"
                        },
                        {
                          title:"马甲工艺"
                        },
                        {
                          title:"礼服工艺"
                        },
                        {
                          title:"大衣工艺"
                        }
                      ]
                    },
                    {
                      logoUrl:"../.././assets/simProblem/gydm.png",
                      title:"工艺展示",
                      listData:[
                        {
                          title:"西服工艺"
                        },
                        {
                          title:"衬衣工艺"
                        },
                        {
                          title:"西裤工艺"
                        },
                        {
                          title:"服装搭配展示"
                        },
                        {
                          title:"马甲工艺"
                        },
                        {
                          title:"礼服工艺"
                        },
                        {
                          title:"大衣工艺"
                        }
                      ]
                    },
                    {
                      logoUrl:"../.././assets/simProblem/gydm.png",
                      title:"工艺展示",
                      listData:[
                        {
                          title:"西服工艺"
                        },
                        {
                          title:"衬衣工艺"
                        },
                        {
                          title:"西裤工艺"
                        },
                        {
                          title:"服装搭配展示"
                        },
                        {
                          title:"马甲工艺"
                        },
                        {
                          title:"礼服工艺"
                        },
                        {
                          title:"大衣工艺"
                        }
                      ]
                    }
                  ]
            }
        },
      methods:{
        toDetail(){
            this.$router.push("proDetails")
        }
      }
    }
</script>
<style scoped>
  .proHome .proKind>li{
    width:440px;
    height:144px;
    margin-left: 20px;
    float: left;
    margin-bottom: 20px;
  }
  .proHome .proKind>li .ivu-card{
    border-radius: 20px;
  }
  .proHome .proKind>li .card{
    display: flex;
    height:144px;
    margin: -16px;
    cursor: pointer;
  }
  .proHome .proKind>li .cardLeft{
    width:110px;
  }
  .proHome .proKind>li .cardLeft>.proHometop{
    margin: 25px 0 20px 0;
    width:110px;
    text-align: center;
  }
  .proHome .proKind>li .cardLeft>.proHometop>img{
    width:62px;
    height:54px;
  }
  .proHome .proKind>li .cardLeft>.footer>p{
    color: #9ea7b4;
    text-align: center;
    font-size: 14px;
  }
  .cardRight{
    margin: 12px 0;
  }
  .conRight{
    margin-bottom:-20px;
  }
  .cardRight li{
    font-size: 12px;
    color:#464c5b;
    width:109px;
    height: 30px;
    line-height: 30px;
    float: left;
  }
 .cardRight li>span{
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #464c5b;
    border-radius: 50%;
  }
  .ivu-card-bordered{
    border: 0px solid #dddee1;
    border-color: #f5f7f9;
  }
  .ivu-card:hover{
    box-shadow:none;
  }
</style>
